﻿<local:BaseWindow
	xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
	xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
    xmlns:local="clr-namespace:PSE.Deployment.SetupBase.UI"
	x:Class="PSE.Deployment.SetupBase.UI.InstalationSource"
	Title="Setup"
    ShowBackgroundLogo="False"
	Width="450" Height="240" >
    <Grid>
        <Grid.RowDefinitions>
            <RowDefinition Height="65"/>
            <RowDefinition Height="*"/>
        </Grid.RowDefinitions>
        <Rectangle Grid.Row="0" Fill="{DynamicResource SmallSystemLogo}" />
        <StackPanel Grid.Row="1" VerticalAlignment="Stretch" HorizontalAlignment="Stretch" Margin="10,0,0,0">
            <TextBlock FontSize="12" TextWrapping="Wrap" Foreground="#FF333333" Height="51" HorizontalAlignment="Left" VerticalAlignment="Top" Margin="0,10,0,0">
                    <Run FontSize="18" FontWeight="Bold" Foreground="#FF336699" Text="Local de Instalação" Language="pt-br"/>
                    <LineBreak/>
                    <Run Text="Alguns arquivos de instalação do Sistema são necessários. Insira o CD de instalação ou selecione um caminho abaixo, e clique em OK." Language="pt-br"/>
            </TextBlock>
            <TextBlock Margin="0,10,0,0" HorizontalAlignment="Left" Text="Copiar arquivos de:" TextWrapping="Wrap" FontSize="12" Foreground="#FF333333" Width="200" TextAlignment="Left" x:Name="lblCopiarArquivos" VerticalAlignment="Top" />
            <StackPanel Orientation="Horizontal" Margin="0,2,0,0">
                <TextBox Style="{DynamicResource TextBoxPSE}" TextWrapping="Wrap" FontSize="12" IsEnabled="True" x:Name="txtPath" Height="21" HorizontalAlignment="Left" VerticalAlignment="Top" Width="400" />
                <Button Style="{DynamicResource setupBt}" Content=". . ." Background="{DynamicResource BtBackColor}" HorizontalAlignment="Left" Width="20" Foreground="#FFFFFFFF" x:Name="btnSelectPath" Click="btnSelectPath_Click" Height="21" VerticalAlignment="Top" />
            </StackPanel>
            <StackPanel Orientation="Horizontal" VerticalAlignment="Bottom" HorizontalAlignment="Center" Margin="0,25,0,0">
                <Button Style="{DynamicResource setupBt}" x:Name="BtnOk"  Click="BtnOk_Click" Content="Ok" Background="{DynamicResource BtBackColor}" Foreground="#FFFFFFFF" Width="80" HorizontalAlignment="Left" Height="21" VerticalAlignment="Top" Margin="0,0,20,0" />
                <Button Style="{DynamicResource setupBt}" x:Name="BtnCancel" Click="BtnCancel_Click" Content="Cancelar" Background="{DynamicResource BtBackColor}" Foreground="#FFFFFFFF" Width="80" Height="21" HorizontalAlignment="Left" VerticalAlignment="Top" />
            </StackPanel>
        </StackPanel>
    </Grid>
</local:BaseWindow>
